package com.wuyoucar.entity;

import java.io.Serializable;
import java.util.Date;

/*
    邮箱验证的邮箱表
 */
public class TEmail implements Serializable {
    private Integer id;
    private String  email;
    private Date    deadline;//邮件过期时间
    private String  vertifycode;//验证码
    private Integer userid;

    public TEmail() {
    }

    public TEmail(Integer id, String email, Date deadline, String vertifycode, Integer userid) {
        this.id = id;
        this.email = email;
        this.deadline = deadline;
        this.vertifycode = vertifycode;
        this.userid = userid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public String getVertifycode() {
        return vertifycode;
    }

    public void setVertifycode(String vertifycode) {
        this.vertifycode = vertifycode;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    @Override
    public String toString() {
        return "TEmail{" + "id=" + id + ", email='" + email + '\'' + ", deadline=" + deadline + ", vertifycode='" + vertifycode + '\'' + ", userid=" + userid + '}';
    }
}
